
<script type="text/javascript">
	$(function() {
	     $("span.left-category-tour-gallery").svgallery({'animationSpeed' : 500});
	});
</script>    
         <?$inList   =  $this->inboundTourList?>
<div style="clear:both"></div>
        <!-- tour list content -->
<div class="box_detail_tours">
		<div class="box_tours_travel_content"> 
			<div class="box_detail_tours_title">&nbsp;&nbsp;<?=p("inbound")?></div>
          	<div class="box_tur_inter_left" > <!-- fist column -->
                  <div align="center" ><img src="/public/themes/second/images/tours_nuocngoai.jpg" align="absmiddle" /></div>		  
				  <div class="box_tur_inter_left_l_tral">
				  <? for ($i = 0; $i < count($inList); $i = $i + 2):?> 
	        		<?$tour = $inList[$i] ?>
				  <?if(!empty($tour)) :?>
					  <div class="box_tur_inter_left_l_tral_l curent">
					  	<a href="<?=$this->hvnUrl(array('action' => 'view', 'module' => 'tour'),'nocontroller')?>?id=<?= $tour['id']?>">
					  	<img src="/public/themes/second/images/ico_travel_t.jpg" align="absmiddle" /> <?=$this->inboundArticleList[$tour['id']]['article_title'] ?> </a></div>
			   	 <?endif?>
			   	 <?endfor?>
				  </div>
             
	              <div class="box_tur_inter_left_r_tral">
	              <? for ($i = 0; $i < count($inList); $i = $i + 2):?> 
	        		<?$tour = $inList[$i] ?>
	               <?if(!empty($tour)) :?>
					  <div class="box_tur_inter_left_r_tral_usecase_top"></div>
						  <div class="box_tur_inter_left_l_tral_r">
						  <a href="<?=$this->hvnUrl(array('action' => 'view', 'module' => 'tour'),'nocontroller')?>?id=<?= $tour['id']?>">
						  <img src="/public/themes/second/images/ico_travel_t.jpg" align="absmiddle" /><?=$this->inboundArticleList[$tour['id']]['article_title'] ?></a></div>
						  <div class="box_tur_inter_left_r_tral_usecase_bottom"></div>
					<?endif?>
					<?endfor?>
			       </div>
			    </div>
		  </div>
		   	
       	<div class="box_tur_inter_right">
            <? for ($i = 1; $i < count($inList); $i = $i + 2):?> 
            <?$tour = $inList[$i]?>
             <?if(!empty($tour)) :?>
            <div class="box_tour_r_list">
                <div class="box_tour_r_img">
                    <span class="left-category-tour-gallery">
    		    		<img src="" class="active-image" align="absmiddle" />
                     	<span style="display:none" class="image-list"> 
        			    <?=$this->hvnSlideshow(array('userId' => $tour['poster_id'], 
    			    						'contentType' => "tour",
    			    						'contentId' => $tour['id'], 'size' => 'xsmall'
        			    )) ?>
        			    </span>
                    </span>
                </div>
                <div class="box_tour_r_title" style="padding-left:7px;">
                    <a href="<?=$this->hvnUrl(array('action' => 'view', 'module' => 'tour'),'nocontroller')?>?id=<?= $tour['id']?>"><?=$this->inboundArticleList[$tour['id']]['article_title'] ?> </a>
	                <div align="left"></div>
	                <div align="left">
	                   <?=str_first_words(strip_tags($this->inboundArticleList[$tour['id']]['article_body']),15)?>
	                </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
            <?endif?>
             <?endfor?>
            <div class="box_detail">
               	<a href="<?=$this->hvnUrl(array('action' => 'view', 'module' => 'tour'),'nocontroller')?>?id=<?= $tour['id']?>">>><?=t(150) ?></a>
            </div>
     	</div>	  
</div>
<div class="clear"></div>
        	



